import com.zh.config.springConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.zh.service.demoService;
public class App {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(springConfig.class);
        demoService demoService = applicationContext.getBean(demoService.class);
        demoService.add();
    }
}
